package com.sunchen.asc.service.item.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="收费信息对象",description="收费信息Charge")
public class ChargeVo {

    //private Long id;

    @ApiModelProperty(value="绑定事项",name="itemId")
    @NotNull(message = "不能为空")
    private Long itemId;

    @ApiModelProperty(value="收费名称",name="name")
    @NotEmpty(message = "不能为空")
    private String name;

    @ApiModelProperty(value="收费标准",name="standard")
    @NotEmpty(message = "不能为空")
    private String standard;

    @ApiModelProperty(value="收费单位名称",name="orgName")
    private String orgName;

    @ApiModelProperty(value="收费依据",name="basis")
    @NotEmpty(message = "不能为空")
    private String basis;

    @ApiModelProperty(value="备注",name="remark")
    private String remark;

    @ApiModelProperty(value="是否减免(0:否,1:是)",name="reductionFlag")
    @NotNull(message = "不能为空")
    private int reductionFlag;


    @ApiModelProperty(value="减免金额",name="reductionPrice")
    private String reductionPrice;

    @ApiModelProperty(value="减免依据",name="reductionReason")
    private String reductionReason;

    @ApiModelProperty(value="减免收费情形",name="reduceFeeSituation")
    private String reduceFeeSituation;

    @ApiModelProperty(value="附件名",name="attachName")
    private String attachName;

    @ApiModelProperty(value="附件id",name="attachId")
    private String attachId;

    public ChargeVo() {
    }

    public ChargeVo(Long id, Long itemId, String name, String standard, String orgName, String basis, String remark, int reductionFlag, String reductionPrice, String reductionReason, String reduceFeeSituation, String attachName, String attachId) {
        //this.id = id;
        this.itemId = itemId;
        this.name = name;
        this.standard = standard;
        this.orgName = orgName;
        this.basis = basis;
        this.remark = remark;
        this.reductionFlag = reductionFlag;
        this.reductionPrice = reductionPrice;
        this.reductionReason = reductionReason;
        this.reduceFeeSituation = reduceFeeSituation;
        this.attachName = attachName;
        this.attachId = attachId;
    }
}
